From: Jo-Philipp Wich Date: Wed, 15 Mar 2023 10:45:08 +0000 (+0100) Subject: luci-app-acme: remove handling of deprecated `state_dir` option X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=acf40dc0d402c68f35c02982a119e4a64131ce04;p=project%2Fluci.git luci-app-acme: remove handling of deprecated `state_dir` option Recent versions of "acme" report the following message on startup: daemon.warn acme: Option "state_dir" is deprecated, please remove it. Certificates now exist in /etc/ssl/acme Solve this issue by removing the support for this deprecated option. Fixes: #6273 Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js index b13af7e346..2023c761db 100644 --- a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js +++ b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js @@ -26,11 +26,6 @@ return view.extend({ s = m.section(form.TypedSection, "acme", _("ACME global config")); s.anonymous = true; - o = s.option(form.Value, "state_dir", _("State directory"), - _("Where certs and other state files are kept.")); - o.rmempty = false; - o.datatype = "directory"; - o = s.option(form.Value, "account_email", _("Account email"), _("Email address to associate with account key.")) o.rmempty = false;